package com.tsing.basic.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tsing.basic.entity.Permission;
import com.tsing.basic.vo.req.*;
import com.tsing.basic.vo.resp.PermissionRespVo;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author TheTsing
 * @since 2021-03-29
 */
public interface IPermissionService extends IService<Permission> {

    void addPermission(PermissionAddReqVo reqVo);

    void deletePermission(IdsReqVo reqVo);

    PermissionRespVo getPermissionById(IdReqVo reqVo);

    void updatePermission(PermissionUpdateReqVo reqVo);

    Page<PermissionRespVo> permissionPage(PermissionPageReqVo reqVo);

}
